package com.achievement.service;

import com.achievement.domain.dto.BreedDTO;
import com.achievement.domain.entity.BreedEntity;
import com.achievement.domain.param.BreedParam;
import com.achievement.domain.vo.BreedVO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.common.api.BusinessApi;
import com.common.core.domain.AjaxResult;

import java.util.HashMap;
import java.util.List;


public interface IBreedService extends IService<BreedEntity>, BusinessApi
{
    List<BreedVO> selectByPage(BreedParam param);

    List<BreedVO> getListByConditions(BreedParam param);
    BreedVO getInfoById(String id);


    AjaxResult add(BreedDTO dto);

    AjaxResult update(BreedDTO dto);

    boolean batchRemove(List<String> ids);


    List<HashMap<String, Integer>> listStatistics(BreedParam param);
}
